/**
 * Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng)
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.cdplife.ci.core.common.constant.dictmap;

import com.cdplife.ci.core.common.constant.dictmap.base.AbstractDictMap;

/**
 * 部门的映射
 *
 * @author jers
 * @date 2018-11-15 10:01
 *
 */
public class InsuranceKindDict extends AbstractDictMap {

    @Override
    public void init() {
        put("policyId", "保单号");
        put("insuranceKindCode", "险种代码");
        put("insuranceKindName", "险种名称");
        put("insuranceKindType", "险种类型");
        put("amountType", "保额类型");
        put("amountLimit", "保额额度");
        put("amount", "保费");
        put("insuranceComment", "备注");
        put("insuranceExplain", "说明");
    }

    @Override
    protected void initBeWrapped() {
        putFieldWrapperMethodName("insuranceKindType", "getInsuranceKindTypeName");
        putFieldWrapperMethodName("amountType", "getAmountTypeName");
    }
}
